package com.foreveross.bsl.auth.service.impl;

import javax.inject.Inject;
import javax.inject.Named;

import com.foreveross.bsl.auth.service.IdentityService;
import com.foreveross.bsl.auth.service.TicketApplication;

/**
 * @description
 *
 * @author rening
 * @version v1.0
 *
 * @2013-7-22
 *
 * @param <T>
 */
@Named("identityService")
public class IdentityServiceImpl<T> implements IdentityService {

	@Inject
	protected TicketApplication ticketApplication;
	
	public Object validateTicket(String ticket) {
		return  ticketApplication.getEntity(ticket);
	}

}
